home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: netcom.com!russells
- From: russells@netcom.com (Russell Salsbury)
- Subject: Re: Can anyone help a newbie out ?
- Message-ID: <russellsDpxyGu.F1F@netcom.com>
- Organization: NETCOM On-line Communication Services (408 261-4700 guest)
- References: <4kkf3r$5b0@darwin.nbnet.nb.ca> <garyg-1404961118000001@204.183.221.242>
- Date: Tue, 16 Apr 1996 06:10:05 GMT
- Sender: russells@netcom11.netcom.com
-
- #!/usr/bin/perl
- die "Bad number of args\n" if ($#ARGV != 1);
- if (length($ARGV[0]) >= length($ARGV[1]))
- {
- print "$ARGV[0]\n";
- }
- else
- {
- print "$ARGV[1]\n";
- }
-
- :)
- Ryan russells@netcom.com
-